#ifndef _SYS_DEPRECATED_H_
#define _SYS_DEPRECATED_H_

#include "FanObj.h"
#include "SysTypes.h"

#define DEPRECATED_VTABLE(self)   ((DeprecatedVTable*)((FanObj*)self)->vtable)


extern Type*    Deprecated_classType;
extern VTable*  Deprecated_classVTable;


/* [sys::Deprecated] Attributes */
struct Deprecated
{
  FanObj        super;
};


/* [sys::Deprecated] Virtual-table */
typedef struct DeprecatedVTable
{
  FanObjVTable  super;
} DeprecatedVTable;


/* [sys::Deprecated] Methods and fields */
void            Deprecated_make_0(Deprecated* self);
void            Deprecated_make(Deprecated* self, Func* f);
Str*            Deprecated_msg(Deprecated* self);


/* [sys::Deprecated] Type-system functions */
Type*           Deprecated_initType(void);
VTable*         Deprecated_initVTable(void);
void            Deprecated_initStatic(void);


#endif
